// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleAlterTablespaceStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/OracleASTVisitor.h"
#include "OracleAlterTablespaceItem.h"

// @Override
void OracleAlterTablespaceStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterTablespaceStatement)))
  {
    acceptChild(visitor, name);
    acceptChild(visitor, item);
  }
  visitor->endVisit(SharedObject(OracleAlterTablespaceStatement));
}

SQLName_ptr OracleAlterTablespaceStatement::getName()
{
  return name;
}

void OracleAlterTablespaceStatement::setName(SQLName_ptr name)
{
  this->name = name;
}

OracleAlterTablespaceItem_ptr OracleAlterTablespaceStatement::getItem()
{
  return item;
}

void OracleAlterTablespaceStatement::setItem(OracleAlterTablespaceItem_ptr item)
{
  this->item = item;
}
